package mybatis06.department.entity;

import java.util.List;

import mybatis06.employee.entity.EmployeeEntity;

public class DepartmentEntity {
	
	private  Integer did;
	private String name;
	
	/**
	 * 最正统的写法  但不写
	 */
	private List<EmployeeEntity> employeeEntity;
	
	//以下非不数据库字段
	/**
	 * 这样可以用别名  ，要什么字段添加什么字段
	 * @return
	 */
	
	

	public Integer getDid() {
		return did;
	}

	public void setDid(Integer did) {
		this.did = did;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<EmployeeEntity> getEmployeeEntity() {
		return employeeEntity;
	}

	public void setEmployeeEntity(List<EmployeeEntity> employeeEntity) {
		this.employeeEntity = employeeEntity;
	}
	
	

}